package com.globefrog.example.consumer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * @author : Globe-Frog
 * @date : Create in 2021/7/12
 */
@Getter
@Setter
@TableName("consumer")
public class Consumer {

  @TableId(value = "id", type = IdType.ID_WORKER_STR)
  private String id;
  @TableField("name")
  private String name;
  @TableField("status")
  private boolean status;
}
